package sz.szsmk.citizencard.mvp.contract;

import java.util.List;

import sz.szsmk.citizencard.gover.FunctionItem;
import sz.szsmk.citizencard.model.network.bean.response.GetOrderOpenidRes;
import sz.szsmk.citizencard.model.network.bean.response.PrepayResponse;
import sz.szsmk.citizencard.ui.base.IBaseContact;

public interface IAppLifeContact {

    interface IAppLifePresenter<T extends IBaseContact.IBaseView> extends IBaseContact.IBasePresenter {

        void getWebsiteList(String service_type, String site_type, String distance_type, int type, String mLatitude, String mLongitude, int pager);

        void getGetOrderId(String url, String type, FunctionItem data);

    }

    interface IAppLifeView extends IBaseContact.IBaseView {

        void getWebsiteListSucc(List<PrepayResponse.WebsiteListInfoBean> websiteListInfo);

        void getWebsiteListFail();

        void getGetOrderIdFail();

        void getGetOrderIdSucc(GetOrderOpenidRes response, String type, String url, FunctionItem data);
    }


}
